package com.example.user.rpc.provider;

import com.example.apis.user.UserProvider;
import com.example.user.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 用户 同步接口层 具体实现
 *
 * @author Lv
 * @date 2023/10/02
 */
@DubboService
public class UserProviderImpl implements UserProvider {

    @Autowired
    private UserService userService;

    /**
     * 测试用户接口RPC调用
     *
     * @return
     */
    @Override
    public String testUserRpc() {
        return userService.testUserRpc();
    }
}
